package com.sright.bcard.enterprise.dal.dao;

import com.sright.bcard.common.service.share.base.dao.BaseDAO;
import com.sright.bcard.common.service.share.dto.page.PageParamRequest;
import com.sright.bcard.enterprise.dal.entity.AddressDO;

import java.util.List;

public interface AddressDAO extends BaseDAO<AddressDO> {
    Integer count(PageParamRequest pageParamRequest);

    List<AddressDO> pageList(PageParamRequest pageParamRequest);

    int deleteAddress(Long id);

    List<AddressDO> selectByEnterpriseIdList(List<Long> enterpriseIdList);

    List<AddressDO> selectByAddressIds(List<Long> addressIds);
}
